Image forming apparatus with a substitute recording medium for an unavailable recording medium and method thereof

ABSTRACT

An image forming apparatus is provided with a storage unit for storing setting information including at least a size of a substitute recording medium, and a processing unit for executing a print instruction by automatically changing a size of a recording medium to be used to the size of the substitute recording medium based on the setting information stored in the storage means, when the size of the recording medium specified by the print instruction is not available.

BACKGROUND OF THE INVENTION

[0001] This application claims the benefit of Japanese Patent Applications No.2000-391315 filed Dec. 22, 2000 and No.2001-380453 filed Dec. 13, 2001, in the Japanese Patent Office, the disclosure of which is hereby incorporated by reference.

[0002] 1. Field of the Invention

[0003] The present invention generally relates to image forming apparatuses, image forming methods and computer-readable storage media, and more particularly to an image forming apparatus which is provided with a function of forming images on recording media such as paper having different sizes, an image forming method for forming images on recording media such as paper having different sizes, and a computer-readable storage medium which stores a computer program for setting setting information for use by such an image forming method.

[0004] 2. Description of the Related Art

[0005] Image forming apparatuses include printing apparatuses, copying machines, facsimile machines, composite apparatuses having multiple functions, and the like which are provided with at least a function of printing an image on a recording medium such as paper. Of such image forming apparatuses, there is an image forming apparatus having a construction which enables papers of a plurality of different sizes to be set simultaneously. In the case of the image forming apparatus having such a construction, a user can specify a paper size to be used for printing data and instruct the printing, depending on the size of the data to be printed, such as characters and images, the kind of the data to be printed, and the user's needs. For example, in the case of a printing apparatus, the user specifies the paper size to be used with respect to the printing apparatus from a host unit such as a personal computer. In the case of a copying machine, the user specifies the paper size to be used from an operation panel of the copying machine.

[0006] The need for the printing using different paper sizes is increasing due to expanding work on the international scale and the increasing varieties of printed materials. For example, when creating a document in a first country for use in a second country, the document may be printed on a paper size which is commonly used in the second country but not in the first country. In addition, when the user acquires a PDF file from a Web site on the Internet, there are cases where the printing can only be made on a paper size which is specified by the Web site. Accordingly, it is becoming increasingly important to be able to print on various paper sizes.

[0007] However, particularly in an image forming apparatus which is frequently used, the paper set in the image forming apparatus easily runs out. For this reason, when the user instructs the printing to the image forming apparatus, the paper having the paper size specified by the print instruction may have run out in the image forming apparatus. When the paper of the specified paper size has run out, the print job is interrupted and the printing must wait until the paper of the specified paper size is supplied and set in the image forming apparatus.

[0008] In addition, when different paper sizes are set in the image forming apparatus in a state where the paper of each paper size is accommodated within a corresponding cassette, and the number of cassettes that may be set in the image forming apparatus is small, the possibility that the cassette which accommodates the paper of the specified paper size is not set in the image forming apparatus when the print instruction is sent to the image forming apparatus increases. When the cassette which accommodates the paper of the specified paper size is not set in the image forming apparatus, the print job is interrupted and the printing must wait until the cassette which accommodates the paper of the specified paper size is set in the image forming apparatus.

[0009] When the paper of the specified paper size runs out in the conventional image forming apparatus, the print job is interrupted and the printing must wait until the paper of the specified paper size is supplied and set in the image forming apparatus. In addition, when the cassette which accommodates the paper of the specified paper size is not set in the image forming apparatus, the print job is interrupted and the printing must wait until the cassette which accommodates the paper of the specified paper size is set in the image forming apparatus. For this reason, there was a problem in that it is impossible to carry out the printing efficiently.

[0010] Moreover, since the printing using the specified paper size cannot be made until the paper of the specified paper size is supplied or the cassette which accommodates the paper of the specified paper size is set in the image forming apparatus, the user or the operator must quickly supply the paper of the specified paper size or set the cassette which accommodates the paper of the specified paper size. As a result, there was a problem in that the load on the user or the operator is large.

[0011] Furthermore, when a plurality of print jobs are generated sequentially and one print job is interrupted, the subsequent print jobs must wait until the interrupted print job ends. Hence, there was a problem in that the processing efficiency of the sequential print jobs is extremely poor.

[0012] When the paper size specified by the user is not available in the image forming apparatus, the user may wish to print on another paper size which is available in the image forming apparatus. But in this case, the user must cancel the interrupted print job and then issue a new print instruction which specifies another paper size or, instruct a change of the specified paper size with respect to the interrupted print job, and then restart the printing. Consequently, the load on the user is large in that various operations must be made by the user, and there is a problem in that the printing cannot be made efficiently. Particularly when one print job is cancelled in a state where a plurality of print jobs are generated sequentially, the subsequent print jobs will be executed first, and the reinstructed print job will be executed thereafter, thereby causing a delay in executing the reinstructed print job. In addition, even if another paper size is specified, there is no guarantee that this other paper size is available in the image forming apparatus, and the same situation described above will occur and the same operations described above will be required if the paper of this other paper size is not available in the image forming apparatus. In this case, it is even more difficult to carry out the printing efficiently.

SUMMARY OF THE INVENTION

[0013] Accordingly, it is a general object of the present invention to provide a novel and useful image forming apparatus, image forming method and computer-readable storage medium, in which the problems described above are eliminated.

[0014] Another and more specific object of the present invention is to provide an image forming apparatus, an image forming method and a computer-readable storage medium, which enable corresponding measures to be set in a case where a specified recording medium size is not available when carrying out a printing, so as to reduce the load on a user or operator, and to carry out the printing efficiently, so that print jobs can be executed with a high processing efficiency even if a plurality of print jobs are generated sequentially.

[0015] Still another object of the present invention is to provide an image forming apparatus comprising storage means for storing setting information including at least a size of a substitute recording medium, and processing means for executing a print instruction by automatically changing a size of a recording medium to be used to the size of the substitute recording medium based on the setting information stored in the storage means, when the size of the recording medium specified by the print instruction is not available. According to the image forming apparatus of the present invention, it is possible to enable corresponding measures to be set in a case where a specified recording medium size is not available when carrying out a printing, so as to reduce the load on a user or operator, and to carry out the printing efficiently, so that print jobs can be executed with a high processing efficiency even if a plurality of print jobs are generated sequentially. In addition, it is possible to carry out the printing efficiently even when the specified recording medium size is not available, by printing information on the recording medium of the substitute recording medium size, without requiring the user to be aware of the situation.

[0016] In the image forming apparatus, the setting information may include whether or not a zoom is required when printing information, and/or a printing position on the recording medium. In this case, it is possible to arbitrarily set in advance the conditions in which the substitute recording medium is to be used.

[0017] The image forming apparatus may further comprise means for storing the setting information in the storage means in response to an external setting instruction from outside. In this case, the setting information can be registered from an external host unit or the like.

[0018] The image forming apparatus may further comprise means for notifying to the outside when the size of the recording medium specified by the print instruction is not available or when corresponding setting information is not stored in the storage means, together with information indicating an available size of the recording medium, so as to request the setting instruction. In this case, the substitute recording medium size is automatically requested to an external host unit or the like when needed, so that the setting information of the substitute recording medium can be newly registered or updated without requiring the user to be aware of such.

[0019] The image forming apparatus may further comprise setting means for setting and storing the setting information in the storage means. In this case, the setting information can be set at the image forming apparatus.

[0020] In the image forming apparatus, the setting information may be stored in the storage means in the form of a table. In this case, the setting information can be registered in the form of an easily accessible table.

[0021] In the image forming apparatus, the processing means may invalidate the setting information with respect to second and subsequent pages of the recording medium of identical size during one print job. Or, the processing means may invalidate the setting information with respect to corresponding pages of second and subsequent volumes during one print job when printing a plurality of volumes by a stacking or sorting operation. In these cases, it is possible to prevent the recording medium size from being changed to the substitute recording medium size during one print job.

[0022] In the image forming apparatus, the setting information may be stored in the storage means with respect to each user. This makes it possible to carry out the printing process efficiently with respect to the print requests from a plurality of users.

[0023] A further object of the present invention is to provide an image forming method comprising a reading step reading setting information which includes at least a size of a substitute recording medium from storage means, and a processing step executing a print instruction by automatically changing a size of a recording medium to be used to the size of the substitute recording medium based on the setting information stored in the storage means, when the size of the recording medium specified by the print instruction is not available. According to the image forming method of the present invention, it is possible to enable corresponding measures to be set in a case where a specified recording medium size is not available when carrying out a printing, so as to reduce the load on a user or operator, and to carry out the printing efficiently, so that print jobs can be executed with a high processing efficiency even if a plurality of print jobs are generated sequentially. In addition, it is possible to carry out the printing efficiently even when the specified recording medium size is not available, by printing information on the recording medium of the substitute recording medium size, without requiring the user to be aware of the situation.

[0024] In the image forming method, the setting information may include whether or not a zoom is required when printing information, and/or a printing position on the recording medium. In this case, it is possible to arbitrarily set in advance the conditions in which the substitute recording medium is to be used.

[0025] The image forming method may further comprise a registering step storing the setting information in the storage means in response to an external setting instruction from outside. In this case, the setting information can be registered from an external host unit or the like.

[0026] The image forming method may further comprise a step notifying to the outside when the size of the recording medium specified by the print instruction is not available or when corresponding setting information is not stored in the storage means, together with information indicating an available size of the recording medium, so as to request the setting instruction. In this case, the substitute recording medium size is automatically requested to an external host unit or the like when needed, so that the setting information of the substitute recording medium can be newly registered or updated without requiring the user to be aware of such.

[0027] The image forming method may further comprise a setting step setting and storing the setting information in the storage means. In this case, the setting information can be set at the image forming apparatus.

[0028] In the image forming method, the setting information may be stored in the storage means in the form of a table. In this case, the setting information can be registered in the form of an easily accessible table.

[0029] In the image forming method, the processing step may invalidate the setting information with respect to second and subsequent pages of the recording medium of identical size during one print job. Or, the processing step may invalidate the setting information with respect to corresponding pages of second and subsequent volumes during one print job when printing a plurality of volumes by a stacking or sorting operation. In these cases, it is possible to prevent the recording medium size from being changed to the substitute recording medium size during one print job.

[0030] In the image forming method, the setting information may be stored in the storage means with respect to each user. This makes it possible to carry out the printing process efficiently with respect to the print requests from a plurality of users.

[0031] Another object of the present invention is to provide a computer-readable storage medium which stores a computer program for causing a computer to print information on a recording medium in response to a print instruction, the computer program comprising a reading procedure causing the computer to read setting information which includes at least a size of a substitute recording medium from storage means, and a processing procedure causing the computer to execute a print instruction by automatically changing a size of a recording medium to be used to the size of the substitute recording medium based on the setting information stored in the storage means, when the size of the recording medium specified by the print instruction is not available. According to the computer-readable storage medium of the present invention, it is possible to enable corresponding measures to be set in a case where a specified recording medium size is not available when carrying out a printing, so as to reduce the load on a user or operator, and to carry out the printing efficiently, so that print jobs can be executed with a high processing efficiency even if a plurality of print jobs are generated sequentially. In addition, it is possible to carry out the printing efficiently even when the specified recording medium size is not available, by printing information on the recording medium of the substitute recording medium size, without requiring the user to be aware of the situation.

[0032] Still another object of the present invention is to provide a computer-readable storage medium which stores a computer program for causing a computer to print information on a recording medium in response to a print instruction, the computer program comprising a registering procedure causing the computer to register setting information which includes at least a size of a substitute recording medium to be used when a size of a recording medium specified by the print instruction is not available. According to the computer-readable storage medium of the present invention, it is possible to carry out the printing efficiently even when the specified recording medium size is not available, by printing information on the recording medium of the substitute recording medium size, without requiring the user to be aware of the situation.

[0033] The computer-readable storage medium may store the computer program with respect to one of a computer within a host unit which outputs the print instruction with respect to an image forming apparatus and a computer within the image forming apparatus which prints the information on the recording medium. In this case, the setting information can be registered from the host unit or the image forming apparatus.

[0034] Other objects and further features of the present invention will be apparent from the following detailed description when read in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0035]FIG. 1 is a system block diagram showing an embodiment of an image forming apparatus according to the present invention;

[0036]FIG. 2 is a diagram showing an embodiment of a specifying table;

[0037]FIG. 3 is a diagram showing a menu at a processing stage when setting a specifying table of a user from a host unit;

[0038]FIG. 4 is a diagram showing a menu at a processing stage when setting the specifying table of the user from the host unit;

[0039]FIG. 5 is a diagram showing a menu at a processing stage when setting the specifying table of the user from the host unit;

[0040]FIG. 6 is a diagram showing a menu at a processing stage when setting the specifying table of the user from the host unit;

[0041]FIG. 7 is a diagram showing a menu at a processing stage when setting the specifying table of the user from the host unit;

[0042]FIG. 8 is a diagram showing a menu at a processing stage when setting the specifying table of the user from the host unit;

[0043]FIG. 9 is a diagram showing setting data supplied from the host unit to a printing apparatus;

[0044]FIG. 10 is a diagram showing a menu at a processing stage when setting a specifying table of a user at the printing apparatus;

[0045]FIG. 11 is a diagram showing a menu at a processing stage when setting the specifying table of the user at the printing apparatus;

[0046]FIG. 12 is a diagram showing a menu at a processing stage when setting the specifying table of the user at the printing apparatus;

[0047]FIG. 13 is a diagram showing a menu at a processing stage when setting the specifying table of the user at the printing apparatus;

[0048]FIG. 14 is a diagram showing a menu at a processing stage when setting the specifying table of the user at the printing apparatus;

[0049]FIG. 15 is a diagram showing a menu at a processing stage when setting the specifying table of the user at the printing apparatus;

[0050]FIG. 16 is a flow chart for explaining the operation of the embodiment;

[0051]FIG. 17 is a flow chart for explaining the operation of the embodiment;

[0052]FIG. 18 is a flow chart for explaining the operation of the embodiment;

[0053]FIG. 19 is a flow chart for explaining the operation of the embodiment;

[0054]FIG. 20 is a flow chart for explaining the operation of the embodiment;

[0055]FIG. 21 is a diagram showing a user ID input menu;

[0056]FIG. 22 is a diagram for explaining a user ID input transferred to the printing apparatus; and

[0057]FIG. 23 is a flow chart for explaining a printing process for a file which is transferred from the host unit to the printing apparatus.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0058] A description will be given of each embodiment of an image forming apparatus according to the present invention, an image forming method according to the present invention, and a computer-readable storage medium according to the present invention.

[0059]FIG. 1 is a system block diagram showing an embodiment of the image forming apparatus according to the present invention. This embodiment of the image forming apparatus employs an embodiment of the image forming method according to the present invention and an embodiment of the computer-readable storage medium according to the present invention. In this embodiment, the present invention is applied to a printing apparatus. For the sake of convenience, in the following description, a case will be described where paper is used as a recording medium on which data (hereinafter referred to as image data) such as characters and images are printed.

[0060] In FIG. 1, a printing apparatus 1 is connectable to a host unit 3, such as a server, via a network such as a LAN and WAN. In this embodiment, a description will be given of a case where the printing apparatus 1 is connected to the host unit 3 via a network 2, but the printing apparatus 1 may of course be connected to the host unit 3 via other connecting means such as centronics,1394,USB. The host unit 3 has a known structure including a CPU 4, a storage unit 5 which may be provided internally or externally to the host unit 3, and an input/output unit 6. The input/output unit 6 includes an input unit such as a keyboard and a mouse, and an output unit such as a display unit. For example, the host unit 3 may be formed by a known personal computer. When issuing a print instruction to the printing apparatus 1, the host unit 3 outputs to the network 2 by a known method the data (image data) such as characters and images which are to be printed, and data (paper size data) which specifies the paper size to be used for the printing. When outputting the print instruction, the host unit 3 may also output user data related to the user of the host unit 3.

[0061] The printing apparatus 1 includes a CPU 101, a ROM 102, a display/operation unit 103, a printer section (printer engine) 104, a compressing/expanding unit 105, an interface (I/F) section 106, a data storage unit 107, a memory 108, an image forming unit 109, a deciphering unit 110, a disk unit 111, a nonvolatile (NV) RAM 112, paper supply trays 121, paper sensors 122, paper size detectors 123, paper eject trays 125, paper sensors 126; full detectors 127, and a bus 200.

[0062] The CPU 101 forms a processing unit for controlling various parts of the printing apparatus 1 according to a computer program which is stored in the ROM 102. The display/operation unit 103 includes a display unit for displaying messages and various data such as the states within the printing apparatus 1, and an operation unit for inputting instructions and the like to the printing apparatus 1. For the sake of convenience, the display/operation unit 103 in this embodiment is formed by a touch-panel which integrally includes the display unit and the operation unit, but the display unit and the operation unit may be provided independently or, an operation unit may be provided in addition to a touch-panel.

[0063] The I/F section 106 receives the print instruction, the image data and the paper size data from the host unit 3 via the network 2, which are then temporarily stored in the memory 108. In a case where the received image data and the like are compressed, the image data and the like are expanded in the compressing/expanding unit 105 before being stored in the memory 108. In addition, in a case where the received image data and the like are enciphered, the image data and the like are deciphered in the deciphering unit 110 before being stored in the memory 108.

[0064] The image forming unit 109 develops the image data stored in the memory 108 into a data format, such as bit-map data, which can be output by the printer section 104, and outputs the developed image data to the printer section 104. The image forming unit 109 also includes a function of changing a zoom (magnification or reduction) rate, a zero position (or origin) and the developing start position of the image data, depending on an instruction from the CPU 101. In a case where the image data received from the host unit 3 already have a data format which can be output by the printer section 104, it is of course unnecessary to develop the image data in the image forming unit 109.

[0065] The printer section 104 prints the image data which are developed by the image forming unit 109 and stored in the memory 108 on paper having a paper size which is dependent on the paper size data, in response to an instruction from the CPU 101. A printing system employed by the printer section 104 is not limited to a particular system, and the systems such as the electrophotography system and the ink-jet system may be employed.

[0066] The paper supply trays 121 are constructed so that paper of a plurality of different paper sizes can be set thereon. The paper supply trays 121 may be constructed to accommodate paper of different paper sizes which are accommodated within corresponding cassettes, that is, constructed to receive the cassettes which are set therein. The paper supply trays 121 have a known construction for supplying to the printer section 104 the paper of the paper size which is dependent on the paper size data, in response to an instruction from the CPU 101. The paper sensors 122 detect the existence of different paper sizes or, detect that the remaining amounts of the different paper sizes have become less than a predetermined amount, and notify the existence or remaining amount to the CPU 101. The paper size detectors 123 detect the different paper sizes which are set, and notify the detected paper sizes to the CPU 101. In other words, the usable or available (hereinafter simply referred to as “usable”) paper sizes are detected by the paper size detectors 123, and the paper sizes which have run out or have a small remaining quantity are detected by the paper sensors 122.

[0067] The printed paper output from the printer section 104 is ejected to the paper eject trays 125. The paper eject trays 125 have a known construction for stacking or sorting the paper in response to an instruction form the CPU 101. The paper sensors 126 detect the existence of the paper ejected to the paper eject trays 125, and notify the existence to the CPU 101. The full detectors 127 detect a state where the amount of ejected paper has reached a maximum tolerable amount in the corresponding paper eject trays 125, and notify the detected state to the CPU 101.

[0068] In this embodiment, the data storage unit 107 is provided with the disk unit 111 and/or the NVRAM 112, and stores a specifying table which will be described later. The data storage unit 107 may be formed by any kind of recording medium or storage device as long as it is possible to store the specifying table. In addition it is possible to store the specifying table in the memory 108 if the memory 108 includes a nonvolatile memory portion, and in this case, the data storage unit 107 may be omitted.

[0069] The basic structure itself of the printing apparatus 1 shown in FIG. 1 is known, and other known basic structures may be used as long as the printing apparatus 1 is provided with a storage means capable of storing the specifying table in a modifiable manner.

[0070] The specifying table records the substitute paper sizes to be used when the specified paper sizes to be used to print the image data are not usable, whether the printing is to be made with or without the zoom when printing the image data, the printing position of the image data on the paper, and the like, with respect to each user.

[0071]FIG. 2 is a diagram showing an embodiment of the specifying table. For the sake of convenience, FIG. 2 shows setting information with respect to three users who are identified by user IDs. The setting information in this particular case includes the substitute paper size and whether or not the zoom is required. For example, with respect to the user ID “00000001”, the setting information indicates that the substitute paper size A4 is used when the paper size LT is not usable, without the zoom as indicated by “x” when using the substitute paper size A4. In addition, the setting information also indicates that the substitute paper size A4 is used when the paper size B5 is not usable, with the zoom as indicated by “o” when using the substitute paper size A4, and that the substitute paper size A3 is used when the paper size B4 is not usable, with the zoom as indicated by “o” when using the substitute paper size A3. The substitute paper size and whether or not the zoom is required do not need to be set for all of the paper sizes.

[0072] In FIG. 2, only one substitute paper size is set with respect to each paper size. However, it is possible to set two or more substitute paper sizes with respect to one or more paper sizes. In this case, it is possible to record the setting information in the specifying table so that a substitute paper size B4 is used when a paper size A4 is not usable, and a substitute paper size A3 is used when even the substitute paper size B4 is not usable, for example. In addition, it is possible to set whether or not the zoom is required, with respect to each such substitute paper sizes. Furthermore, it is possible to set in the specifying table the printing position on the paper where the image data is to be printed. The printing position can be controlled by determining the developing start position or the zero position, for example.

[0073] In a case where the substitute paper size is smaller than the specified paper size, the zero point is not changed, and the image data is printed after reducing the image data depending on a reduction rate between the specified paper size and the substitute paper size. In a case where the reduction rate between the specified paper size and the substitute paper size can be described by an integer ratio, it is possible not to reduce the image data and to print the image data without changing size using a number of sheets of paper depending on the integer ratio. For example, if the specified paper size is B4 and the substitute paper size is B5, it is possible to print the image data in two sheets of paper having the substitute paper size B5. Accordingly, when the two sheets of printed-paper are arranged side by side, it is possible to obtain approximately the same image data as when the printing is image on a single sheet of paper having the specified paper size B4. It is possible to similarly record in the specifying table the number of sheets of paper to be used depending on the reduction rate, with respect to the substitute paper size.

[0074] The specifying table may be provided with respect to each user. In this case, the data storage unit 107 may store a user table which records the storage locations (addresses) of the specifying tables corresponding to each of the users. The user table may be created by executing a user table creating program stored in the ROM 102 by the CPU 101 when the specifying table of a new user is created. Of course, the user table creating program may be stored in the disk unit 111, for example. In addition, it is not necessary to provide the specifying table with respect to all of the users, and it is possible not to provide the specifying table with respect to each user not wishing to use a substitute paper size or, to provide a table which records each user not wishing to use a substitute paper size.

[0075] The specifying table may be set from the host unit 2 by operating the keyboard or the like of the input/output unit 6 of the host unit 3 or, set at the printing apparatus 1 by operating the operation/display unit 103 of the printing apparatus 1. In addition, the setting contents may all be input to the specifying table from the start or, the setting contents may be input by changing default setting contents which are set in advance in a default specifying table, so as to form the specifying table.

[0076]FIGS. 3 through 8 are diagrams showing menus (display screens) displayed on the display unit of the input/output unit 6 at various processing stages when setting the specifying table of the user to the printing apparatus 1 from the host unit 3. For the sake of convenience, a description will be given of a case where the user of the host unit 3 sets the specifying table by inputting all of the setting contents from the start with respect to the printing apparatus 1 having an apparatus name “Printer1”.

[0077] In the menu shown in FIG. 3, the apparatus names of the printing apparatuses which are connectable to the host unit 3 are displayed together with the apparatus information (model name). The user selects the apparatus name “Printer1” by selecting the “↑” or “↓” button by clicking the mouse, for example, and determines the selection by selecting the “select” button. As a result, the menu switches to the menu shown in FIG. 4.

[0078] In the menu shown in FIG. 4, the user is urged to input the user ID, and the user operates the keyboard or the like to input the user ID “00000001”, for example, and then determines the selection by selecting the “OK” button. As a result, the menu switches to a setting menu for setting the substitute paper size and whether or not the zoom is required, with respect to each paper size.

[0079]FIG. 5 shows a state where the substitute paper sizes (substitute sizes) and whether or not the zoom is required, are set with respect to the paper sizes LT and B5 in such a setting menu. When the “add” button is selected in this menu, the menu switches to the menu shown in FIG. 6, and it becomes possible to set the substitute paper size and whether or not the zoom is required, with respect to the added paper size. The “change” button is selected when changing the set contents, and the “delete” button is selected when deleting the set contents.

[0080]FIG. 6 shows a state where the substitute paper size A4 and the printing with the zoom are set with respect to the paper size B5 in the menu. When the “OK” button is selected in this state, the setting with respect to the paper size B5 is determined.

[0081] The menu shown in FIG. 7 is displayed when the paper size is free, and the substitute paper size is set to a fixed size such as A4 as shown. When the “OK” button is selected in this state, the menu shown in FIG. 8 is displayed to urge the user to input the free paper size, that is, the horizontal and vertical sizes. When the “OK” button is selected after inputting the free paper size, the input free size is determined.

[0082] By making the setting described above, the setting data shown in FIG. 9, for example, are supplied from the host unit 3 to the printing apparatus 1. In the printing apparatus 1, the specifying table shown in FIG. 2 is set by the CPU 101 with respect to the user ID “00000001” and stored in the data storage unit 107. In FIG. 9, “00000001”, “00000002” and “00000003” indicate the user IDs. For example, “LT-A40” indicates that the substitute paper size for the paper size LT is A4 and the printing is to be made without the zoom (“0”), “B5-A41” indicates that the substitute paper size for the paper size B5 is A4 and the printing is to be made with the zoom (“1”).

[0083]FIGS. 10 through 15 are diagrams showing menus (display screens) displayed on the display unit of the display/operation unit 103 at various processing stages when setting the specifying table of the user at the printing apparatus 1. For the sake of convenience, a description will be given of a case where the user having a user ID sets the specifying table corresponding to this user ID, with respect to the printing apparatus 1, by changing the default setting contents which are set in advance in the default specifying table, tat is, by carrying out a setting data conversion. A conversion log is stored in the data storage unit 107, for example. Of course, some or all of the default setting contents may be blank before the user inputs the desired setting contents.

[0084] The menu shown in FIG. 10 urges the user to input the user ID, and after the user inputs the user ID “00000001”, for example, the input is determined by selecting the “OK” button. As a result, the menu switches to the menu shown in FIG. 11, in which the default setting contents related to the substitute paper size and whether or not the zoom is required with respect to each paper size, can be changed.

[0085]FIG. 11 shows the menu a state where the substitute paper sizes and whether or not the zoom is required are set with respect to the paper sizes LT and B5. The user selects the paper size with respect to which the default setting contents are to be changed, by selecting the. “↑” or “↓” button. When changing the default setting contents with respect to the paper size LT, the “OK” button is selected in the menu shown in FIG. 11. As a result, the menu switches to the menu shown in FIG. 12.

[0086] When the “change” button is selected in the menu shown in FIG. 12, the menu switches to the menu shown in FIG. 13. When the “OK”button is selected in the menu shown in FIG. 13, the changes to the default setting contents with respect to the paper size LT are determined, and the menu switches to the menu shown in FIG. 14. In the menu shown in FIG. 14, the substitute paper size can be changed by selecting the “↑” or “↓” button. When the “OK” button is selected in the menu shown in FIG. 14, the substitute paper size after the change is determined, and the menu switches to the menu shown in FIG. 15. Whether the printing is to be made with or without the zoom can be changed by selecting the “↑” or “↓” button in the menu shown in FIG. 15. The zoom selection after the change is determined by selecting the “OK” button in the menu shown in FIG. 15.

[0087] By making the setting described above, the specifying table shown in FIG. 2 is set by the CPU 101 with respect to the user ID “00000001” and stored in the data storage unit 107, based on the setting data input from the display/operation unit 103.

[0088]FIGS. 16 through 19 are flow charts for explaining the operation of this embodiment. The processes shown in FIGS. 16 through 19 are carried out when the printing operation of the printing apparatus 1 is started at a timing which will be described later.

[0089] In FIG. 16, when the printing operation of the printing apparatus 1 is started based on the print instruction from the host unit 3, a step 401 checks the usable (or available) paper sizes and the paper sizes with remaining amounts less than a predetermined amount, based on the outputs of the paper sensors 122 and the paper size detectors 123. A step 402 reads the image data to be printed by the print job and the specified paper size from the memory 108, based on the print instruction. A step 403 decides whether or not the specified paper size is one of the usable paper sizes, and the process advances to a step 404 if the decision result is NO, and the process advances to a step 413 if the decision result is YES.

[0090] The step 404 checks a counted value of a used paper counter which counts the number of sheets of paper used in units of jobs for each paper size. The used paper counter itself is known. When realizing the used paper counter by a software counter, the counting is made under the control of the CPU 101, for example, and the counted value is stored in the memory 108, for example. Of course, it is possible to provide a hardware counter exclusively for use as the used paper counter. A step 405 decides whether or not the printing with respect to the same paper size is the first time (that is, first page of the same paper size) within the present print job, and the process advances to a step 406 if the decision result is NO, and the process advances to a step 421 shown in FIG. 18 if the decision result is YES. The step 406 reads the conversion log of the setting data within the present print job from the data storage unit 107 and checks the conversion log. A step 407 decides whether or not the conversion log exists, and the process advances to a step 408 shown in FIG. 17 if the decision result is NO, and the process advances to a step 428 shown in FIG. 18 if the decision result is YES.

[0091] A description will be given of the reason why the step 405 decides whether or not the printing with respect to the same paper size is the first time (that is, first page of the same paper size) within the present print job. It is not desirable for the specified paper size to change to the substitute paper size during one print job. Accordingly, in this embodiment, measures are taken so that the same specified paper size or the same substitute paper size is used throughout one print job. In other words, the setting contents which are set in the specifying table are treated as being invalid with respect to the second and subsequent pages of the same paper size during one print job. Similarly, during the printing of a plurality of copies (volumes) by carrying out a stacking or sorting operation within one print job, the setting contents which are set in the specifying table are treated as being invalid with respect to the corresponding pages of the second and subsequent copies (volumes). The step 404 counts the number of sheets of paper used for each paper size, because in the case of a duplex printing which prints on both sides of the paper, it is unnecessary to make the even-numbered pages the subject of the decision in the step 405.

[0092] In FIG. 17, the step 408 makes an error display and error notification with respect to the display/operation unit 103. A step 409 decides whether or not the paper of the specified paper size is supplied and a forced printing is possible, and the process advances to a step 410 if the decision result is NO, and the process advances to a step 416 if the decision result is YES. The step 410 decides whether or not the user made a print job reset instruction (cancel instruction) from the display/operation unit 103, and the process advances to a step 411 if the decision result is NO, and the process ends if the decision result is YES.

[0093] The step 411 checks the usable paper sizes and the paper sizes with remaining amounts less than a predetermined amount, based on the outputs of the paper sensors 122 and the paper size detectors 123. A step 412 decides whether or not the error has been resolved, and the process returns to the step 409 if the decision result is NO, and the process advances to the step 416 if the decision result is YES.

[0094] When the step 412 decides whether or not the error is resolved, it is possible to forcibly end the process or, to make the decision result in the step 408 YES, if the number of errors exceeds a predetermined value or a predetermined time elapses after the step 408 is carried out, so as to forcibly print on the paper of the usable paper size.

[0095] The step 416 develops the image data to be printed in the memory 108 by the image forming unit 109, and a step 417 prints the image data amounting to one page on the paper of the specified paper size by the printer section 104. A step 418 decides whether or not a next page exists, and the process returns to the step 401 shown in FIG. 16 if the decision result is YES, and the process ends if the decision result is NO.

[0096] On the other hand, in FIG. 16, the step 413 decides whether or not the print job is related to a duplex printing, and the process advances to a step 414 if the decision result is YES, and the process advances to a step 415 if the decision result is NO. The step 414 decides whether or not the printing page is the front page (first side) or the odd-numbered page, and the process advances to the step 415 if the decision result is YES, and the process advances to the step 416 shown in FIG. 17 if the decision result is NO. The step 415 increments the counted value of the used paper counter in units of jobs by one, and the process advances to the step 416 shown in FIG. 17.

[0097] In FIG. 18, the step 421 searches for a target user ID included in the print instruction, from the user table stored in the data storage unit 107. A step 422 decides whether or not the target user ID exists in the user table, and the process advances to a step 423 if the decision result is NO, and the process advances to a step 427 if the decision result is YES. The step 423 decides whether or not a server (not shown) connected to the network 2 is registered in a storage unit such as the data storage unit 107 as a reference server, and the process advances to a step 424 if the decision result is YES, and the process advances to a step 426 if the decision result is NO. For example, the reference server may be the host unit 3.

[0098] The step 424 searches for the target user ID from a user table registered in the storage unit of the reference server. A step 425 decides whether or not the target user ID exists in the user table within the reference server, and the process advances to the step 426 if the decision result is NO, and the process advances to the step 427 if the decision result is YES. The step 426 decides whether or not a default specifying table is stored in the data storage unit 107, and the process advances to the step 427 if the decision result is YES, and the process returns to the step 408 shown in FIG. 17 if the decision result is NO. The step 427 decides whether or not a substitute paper size to be used for the printing is registered in the specifying table, and the process advances to a step 428 if the decision result is YES, and the process returns to the step 408 shown in FIG. 17 if the decision result is NO. The step 428 decides whether or not the paper of the substitute paper size is usable in the printing apparatus 1, based on the outputs of the paper sensors 122 and the paper size detectors 123, and the process advances to a step 429 shown in FIG. 19 if the decision result is YES, and the process returns to the step 408 shown in FIG. 17 if the decision result is NO.

[0099] In FIG. 19, the step 429 decides whether or not information indicating that the printing is to be carried out with zoom is registered in the specifying table, and the process advances to a step 430 if the decision result is YES, and the process advances to a step 431 if the decision result is NO. The step 430 develops the image data in the memory 108 with the registered zoom (zoom rate) by the image forming unit 109, and the process advances to a step 432. On the other hand, the step 431 develops the image data in the memory 108 without zoom by the image forming unit 109, and the process advances to the step 432.

[0100] The step 432 decides whether or not the print job relates to a duplex printing, and the process advances to a step 433 if the decision result is YES, and the process advances to a step 434 if the decision result is NO. The step 433 decides whether or not the page to be printed is the front page (first side) or the odd-numbered page, and the process advances to the step 433 if the decision result is YES, and the process advances to the step 417 shown in FIG. 17 of the decision result is NO. The step 434 increments the counted value of the used paper counter in units of jobs by one, and the process advances to the step 417 shown in FIG. 17.

[0101] The step 411 shown in FIG. 17 may check and notify to the host unit 3 the usable paper sizes and the paper sizes with remaining amounts less than a predetermined amount, based on the outputs of the paper sensors 122 and the paper size detectors 123, so that the information input by the user in response to this notification is reflected to the specifying table. In other words, the menu shown in FIG. 5 may be displayed on the display unit of the input/output unit 6 of the host unit 3 to notify the usable paper sizes and urge the user to input the substitute paper sizes and the zoom if required, and when the substitute paper sizes and the zoom are input, the specifying table may be generated from the input information or the default specifying table may be updated based on the input information. Accordingly, even when the specified substitute paper size cannot be used in the printing apparatus 1 or, the specifying table is not generated or, the substitute paper size is not registered in the specifying table, it is possible to quickly carry out the printing at the printing apparatus 1. In addition, it is possible to generate or update the specifying table if necessary when sending the print instruction to the printing apparatus 1, without making the user be aware of the generation of the specifying table.

[0102] When the printing is carried out using the paper of the substitute paper size, it is of course possible to indicate this printing which uses the substitute paper size on the display/operation unit 103 or, on the display unit of the input/output unit 6 of the host unit 3.

[0103] Next, a description will be given of the printing process, by referring to FIGS. 20 through 23. When carrying out the printing process, it is possible, for example, to print a file of the image data prestored within the printing apparatus 1, and to print the image data which is sent to the printing apparatus 1 from the host unit 3.

[0104]FIG. 20 is a flow chart for explaining the printing process for a case where the file of the image data is prestored in the memory 108 or the data storage unit 107 of the printing apparatus 1. In FIG. 20, in a step 301, the user selects from the input/output unit 6, a file of the image data to be printed, of files prestored within the printing apparatus 1. In a step 302, the user inputs the user ID as a password, for example, on a user ID input menu shown in FIG. 21. Hence, a user ID input shown in FIG. 22 is transferred from the host unit 3 to the printing apparatus 1, and the user ID “00000001” is transferred in this particular case. After authentication of the password, the user operates the input/output unit 6 in a step 303, so as to input a change in the number of output copies (volumes) of the file, a change in the after-process and the like, and then instructs the printing of the selected file.

[0105] After the step 303, steps 304 through 306 which are surrounded by a dotted line in FIG. 20 are carried out in the printing apparatus 1. The step 304 reads the image data of the selected file amounting to one page from the memory 108 or the data storage unit 107, and develops the image data by the image forming unit 109. The step 305 stores the developed image data in the memory 108. The step 306 decides whether or not a next page of the file exists, and the process returns to the step 304 if the decision result is YES. On the other hand, if the decision result in the step 306 is NO, the process advances to the printing operation described above in conjunction with FIGS. 16 through 19 by starting from the step 401 shown in FIG. 16, at a timing which is instructed from the host unit 3 or determined by the printing apparatus 1.

[0106]FIG. 23 is a flow chart for explaining the printing process for a case where the file of the image data to be printed is transferred from the host unit 3 to the printing apparatus 1. In FIG. 23, a step 201 decides whether or not the print instruction is a first print instruction which instructs the printing at a timing determined by the printing apparatus 1, and the printing apparatus 1 carries out steps 211 through 213 surrounded by a dotted line in FIG. 23 if the decision result is YES. The step 211 stores in the memory 108 or the data storage unit 107 the image data of the file transferred from the host unit 3 together with the print instruction, reads the image data amounting to one page, and develops the image data by the image forming unit 109. The step 212 stores the developed image data in the memory 108. The step 213 decides whether or not a next page of the file exists, and the process returns to the step 211 if the decision result is YES. On the other hand, if the decision result in the step 213 is NO, the process advances to the printing operation described above in conjunction with FIGS. 16 through 19 by starting from the step 401 shown in FIG. 16, at a timing which is determined by the printing apparatus 1.

[0107] If the decision result in the step 201 is NO, a step 202 decides whether or not the print instruction is a second print instruction which prestores the file of the image data in the memory 108 or the data storage unit 107 of the printing apparatus 1 and thereafter prints the file when the printing of this file is selected. If the decision result in the step 202 is YES, the above described steps 211 through 213 are carried out in the printing apparatus 1, and a print instruction which instructs printing of the prestored file as in the case shown in FIG. 20 is waited.

[0108] On the other hand, if the decision result in the step 202 is NO, a step 203 decides whether or not the print instruction is a third print instruction which instructs storing of the file and the printing of the file at a timing instructed from the host unit 2. If the decision result in the step 203 is NO, it is judged that the print instruction is a fourth print instruction which instructs printing of the file at a timing instructed from the host unit 3, and steps 204 through 206 surrounded by a dotted line in FIG. 23 are carried out in the printing apparatus 1. The step 204 stores in the memory 108 or the data storage unit 107 the image, data of the file transferred from the host unit 3 together with the print instruction, reads the image data amounting to one page, and develops the image data by the image forming unit 109. The step 205 prints the developed image data by the printer section 109. The step 206 decides whether or not a next page of the file exists, and the process returns to the step 204 if the decision result is YES. The step 205 carries out the printing operation described above in conjunction with FIGS. 16 through 19 by starting from the step 401 shown in FIG. 16, at a timing which is instructed from the host unit 3.

[0109] If the decision result in the step 203 is YES, steps 207 through 210 surrounded by a dotted line in FIG. 23 are carried out in the printing apparatus 1. The step 207 stores in the memory 108 or the data storage unit 107 the image data of the file transferred from the host unit 3 together with the print instruction, reads the image data amounting to one page, and develops the image data by the image forming unit 109. The step 208 prints the developed image data by the printer section 109. The step 209 stores the printed image data in the memory 108 or the data storage unit 107. The step 210 decides whether or not a next page of the file exists, and the process returns to the step 207 if the decision result is YES. The step 208 carries out the printing operation described above in conjunction with FIGS. 16 through 19 by starting from the step 401 shown in FIG. 16, at a timing which is instructed from the host unit 3.

[0110] In each of the embodiments described above, the present invention is applied to a printing apparatus. However, the application of the present invention is not limited to the printing apparatus, and the present invention is similarly applicable to image forming apparatuses having at least a function of printing images on recording media such as paper. Such image forming apparatuses include copying machines, facsimile machines, and composite apparatuses provided with multiple functions (multi-function apparatuses).

[0111] In addition, the computer-readable storage medium which stores the computer program for realizing the present invention is not limited to a particular type of media, and various types of recording media may be used, including magnetic recording media, optical recording media, magneto-optical recording media, and semiconductor memory devices. In addition, the computer program may be acquired via transmission media.

[0112] Further, the present invention is not limited to these embodiments but various variations and modifications may be made without departing from the scope of the present invention. 

What is claimed is:
 1. An image forming apparatus comprising: storage means for storing setting information including at least a size of a substitute recording medium; and processing means for executing a print instruction by automatically changing a size of a recording medium to be used to the size of the substitute recording medium based on the setting information stored in said storage means, when the size of the recording medium specified by the print instruction is not available.
 2. The image forming apparatus as claimed in claim 1, wherein said setting information includes whether or not a zoom is required when printing information, and/or a printing position on the recording medium.
 3. The image forming apparatus as claimed in claim 1, further comprising: means for storing the setting information in said storage means in response to an external setting instruction from outside.
 4. The image forming apparatus as claimed in claim 3, further comprising: means for notifying to the outside when the size of the recording medium specified by the print instruction is not available or when corresponding setting information is not stored in said storage means, together with information indicating an available size of the recording medium, so as to request the setting instruction.
 5. The image forming apparatus as claimed in claim 1, further comprising: setting means for setting and storing the setting information in said storage means.
 6. The image forming apparatus as claimed in claim 1, wherein said setting information is stored in said storage means in the form of a table.
 7. The image forming apparatus as claimed in claim 1, wherein said processing means invalidates the setting information with respect to second and subsequent pages of the recording medium of identical size during one print job.
 8. The image forming apparatus as claimed in claim 1, wherein said processing means invalidates the setting information with respect to corresponding pages of second and subsequent volumes during one print job when printing a plurality of volumes by a stacking or sorting operation.
 9. The image forming apparatus as claimed in claim 1, wherein said setting information is stored in said storage means with respect to each user.
 10. An image forming method comprising: a reading step reading setting information which includes at least a size of a substitute recording medium from storage means; and a processing step executing a print instruction by automatically changing a size of a recording medium to be used to the size of the substitute recording medium based on the setting information stored in said storage means, when the size of the recording medium specified by the print instruction is not available.
 11. The image forming method as claimed in claim 10, wherein said setting information includes whether or not a zoom is required when printing information, and/or a printing position on the recording medium.
 12. The image forming method as claimed in claim 10, further comprising: a registering step storing the setting information in said storage means in response to an external setting instruction from outside.
 13. The image forming method as claimed in claim 12, further comprising: a step notifying to the outside when the size of the recording medium specified by the print instruction is not available or when corresponding setting information is not stored in said storage means, together with information indicating an available size of the recording medium, so as to request the setting instruction.
 14. The image forming method as claimed in claim 10, further comprising: a setting step setting and storing the setting information in said storage means.
 15. The image forming method as claimed in claim 10, wherein said setting information is stored in said storage means in the form of a table.
 16. The image forming method as claimed in claim 10, wherein said processing step invalidates the setting information with respect to second and subsequent pages of the recording medium of identical size during one print job.
 17. The image forming method as claimed in claim 10, wherein said processing step invalidates the setting information with respect to corresponding pages of second and subsequent volumes during one print job when printing a plurality of volumes by a stacking or sorting operation.
 18. The image forming method as claimed in claim 10, wherein said setting information is stored in said storage means with respect to each user.
 19. A computer-readable storage medium which stores a computer program for causing a computer to print information on a recording medium in response to a print instruction, said computer program comprising: a reading procedure causing the computer to read setting information which includes at least a size of a substitute recording medium from storage means; and a processing procedure causing the computer to execute a print instruction by automatically changing a size of a recording medium to be used to the size of the substitute recording medium based on the setting information stored in said storage means, when the size of the recording medium specified by the print instruction is not available.
 20. A computer-readable storage medium which stores a computer program for causing a computer to print information on a recording medium in response to a print instruction, said computer program comprising: a registering procedure causing the computer to register setting information which includes at least a size of a substitute recording medium to be used when a size of a recording medium specified by the print instruction is not available.
 21. The computer-readable storage medium as claimed in claim 20, wherein the computer program is with respect to one of a computer within a host unit which outputs the print instruction with respect to an image forming apparatus and a computer within the image forming apparatus which prints the information on the recording medium. 